<?php

class Administrator_IndexController extends Zend_Controller_Action
{

    public function init()
    {
        $option=array( 
        	"layout" => "layout", 
        	"layoutPath" => APPLICATION_PATH."/layouts/scripts/administrator" 
      	); 
      	Zend_Layout::startMvc($option); 
        	$this->view->headTitle("Dashboard - T.Hospital"); 
        	
        $this->view->headLink()->appendStylesheet(_BASE_URL . "/public/css/admin.style.css");
    }

	public function preDispatch() {
		if(!$this->getInvokeArg('bootstrap')->getResource('checkLogin')){
			$this->_redirect(_BASE_URL . '/administrator/login');
		}
	}	
    
    
    public function indexAction()
    {
    	
    }
}

